<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<table border="1px">
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;"></td>
      <th>星期一</th>
      <th>星期二</th>
      <th>星期三</th>
      <th>星期四</th>
      <th>星期五</th>
      <th>星期六</th>
      <th>星期日</th>
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第一节</td>
      {foreach $rows1 as $row1}
      <td>{$row1['course']}</td>
      {/foreach}
   </tr>
       
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第二节</td>
      {foreach $rows2 as $row2}
      <td>{$row2['course']}</td>
      {/foreach}
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第三节</td>
      {foreach $rows3 as $row3}
      <td>{$row3['course']}</td>
      {/foreach}
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第四节</td>
      {foreach $rows4 as $row4}
      <td>{$row4['course']}</td>
      {/foreach}
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第五节</td>
      {foreach $rows5 as $row5}
      <td>{$row5['course']}</td>
      {/foreach}
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第六节</td>
      {foreach $rows6 as $row6}
      <td>{$row6['course']}</td>
      {/foreach}
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第七节</td>
      {foreach $rows7 as $row7}
      <td>{$row7['course']}</td>
      {/foreach}
   </tr>
   <tr>
      <td style="background-color:#A9E2CF;font-size:12px;">第八节</td>
     {foreach $rows8 as $row8}
      <td>{$row8['course']}</td>
      {/foreach}
   </tr>
 </table>
</body>
</html>